template "POS File Format"

// Sample template by Stefan Fleischmann
// A more detailed description of the POS file format is
// available from http://www.winhex.com.

description "Reveals the contents of a WinHex Position File"
appliesto file
read-only
requires 0 "57 69 6E 48 65 78 20 50 6F 73 20 76 31 2E 31"

begin
	char[16]	"File signature"
	int32		"# of positions"
	
	numbering 1
	{
	section	"Position #~"
	int64		"Offset (decimal)"
	FILETIME	"Recorded on"
	byte		"Description length"
	char[Description length] "Description"
	endsection
	} [# of positions]
end